interface Movable02 {
    val maxSpeed: Int
        get() = (1..500).shuffled().last()
    var wheels: Int
    fun move(movable: Movable): String
}

class Car02(_name: String, override var wheels: Int = 4) : Movable02 {
    //需要实现接口的属性，val是final所以只用实现get，var可变，需要实现get和set
    override val maxSpeed: Int
        get() = super.maxSpeed //使用父类的方法


    override fun move(movable: Movable): String {
        TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
    }
}
